Rehydration calculator application with DEP algorithm